﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrProductList_Homepage.ascx.cs"
    Inherits="Controls_Products_ctrProductList_Homepage" %>
<br />
<asp:Label ID="lblBestProduct" runat="server" ></asp:Label>
<br />
<br />

    <asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="rptProduct_ItemDataBound" OnItemCommand="rptProduct_ItemCommand">
        <ItemTemplate>

        <div style="float:left ;width:100%">

            <div style="float:left ">
            <asp:ImageButton runat="server" ID="btnProductImage" CommandName="image" Width="120px" Height="100px"/>
            </div>
            <asp:HyperLink runat="server" ID="lnkProductName" ></asp:HyperLink>
            <div >
            <asp:Label ID="lblCode" runat="server"></asp:Label>

            <asp:LinkButton runat="server" ID="lnkAddCart" CommandName="addcart"></asp:LinkButton>
   
            <asp:Label runat="server" ID="lblPrice"></asp:Label>
            </div>

        </div>
                
        </ItemTemplate>
    </asp:Repeater>
   